<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>首页</title>
    <link rel="stylesheet" href="{% static 'css/bootstrap.min.css' %}">
    <link rel="stylesheet" href="{% static 'css/base.css' %}">
    <script src="{% static 'js/popper.min.js' %}"></script>
    <script src="{% static 'js/bootstrap.min.js' %}"></script>

</head>
<body>
<header class="p-3 text-bg-light border-bottom mb-3">
    <div class="container">
        <div class="d-flex flex-wrap align-items-center justify-content-center justify-content-lg-start">
            <a href="/" class="d-flex align-items-center mb-2 mb-lg-0 text-white text-decoration-none">
                <img src="{% static 'img/logo.png' %}" alt="" height="20"> </img>
            </a>

            <ul class="nav col-12 col-lg-auto me-lg-auto mb-2 justify-content-center mb-md-0">
                <li><a href="#" class="nav-link px-2 text-secondary">首页</a></li>
                <li><a href="#" class="nav-link px-2 text-secondary">发布博客</a></li>

            </ul>

            <form class="col-12 col-lg-auto mb-3 mb-lg-0 me-lg-3" role="search">
                <input type="search" class="form-control" placeholder="搜索..." aria-label="Search">
            </form>

            <div class="text-end">
                <button type="button" class="btn btn-primary">登录</button>
                <button type="button" class="btn btn-warning">退出</button>
            </div>
        </div>
    </div>
</header>
<main class="container rounded bg-white p-3">
    <h3>博客列表</h3>
    <div class="row row-cols-2 row-gap-3">
        <div-col>
            <div class="card">
                <div class="card-header">
                    <a href="#">张方舟的一天</a>
                </div>
                <div class="card-body" style="height: 100px;">
                    <h5 class="card-title">Special title treatment</h5>

                </div>
                <div class="card-footer text-muted d-flex justify-content-between">
                    <div>
                        <img src="{% static 'img/1.jpg' %}" height="30" width="30" class="rounded-circle">
                        张庆坤
                    </div>
                    <div>
                        发布时间：2025年03月29日
                    </div>
                </div>
            </div>
        </div-col>


    </div>
</main>

</body>
</html>

